package whf.framework.workflow.assign.parser;

import java.util.Collection;
import java.util.Set;

import org.jdom.Element;

import whf.framework.exception.AppException;
import whf.framework.exception.FindException;

/**
 * 解析器
 * @author king
 *
 */
public interface AssignmentParser {
	public void setSource(Element source) throws AppException;
	/**
	 * @return 返回解析出的所有用户
	 */
	public Collection<String> getUsers() throws FindException;
	
	/**
	 * @return 子对象
	 */
	public Set<AssignmentParser> getChildrenParsers();
}
